# -*- coding:utf-8 -*-

class vdict(dict):
    '''  键值属性化的dict '''
    def __getattribute__(self,att_name):
        if att_name in self:
            return self[att_name]
        return dict.__getattribute__(self,att_name)


